import Vue from 'vue'
import Router from 'vue-router'

// const Moments = resolve => require(['@/pages/Moments'], resolve)
// const Settings = resolve => require(['@/pages/Settings'], resolve)
import Moments from '../pages/Moments'
import Settings from '../pages/Settings'
import GameTeam from '../pages/gameTeam'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Moments',
      component: Moments
    },
    {
      path: '/settings',
      name: 'Settings',
      component: Settings
    },
    {
      path: '/gameTeam',
      name: 'GameTeam',
      component: GameTeam
    }
  ]
})
